<meta charset="UTF-8">

<script>
    var str ="helloworld"
function g(){
var g1=str.substring(0,1);
document.write(g1.toUpperCase()+str.substring(1));
}g();
</script>